﻿using Payroll.BusinessLogic.Messages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Payroll.BusinessLogic.MyCompany
{
    public partial interface ICompanyService
    {
        /// <summary>
        /// Gets the account.
        /// </summary>
        /// <param name="companyid">The companyid.</param>
        /// <param name="option">The option. 0: receive, 1 : sender, 2: send to</param>
        /// <returns>return emailAccount</returns>
        EmailAccounts GetAccount(int companyid, int option);
        /// <summary>
        /// Saves the specified company.
        /// </summary>
        /// <param name="company">The company.</param>
        /// <returns></returns>
        Company Save(Company company);
        /// <summary>
        /// Gets the company.
        /// </summary>
        /// <returns></returns>
        Company GetCompany();
    }
}
